package com.lijiajia.cloud.authserver.configuration.mongo;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.config.EnableMongoAuditing;

/**
 * mongodb 配置
 * 1. mongo auditing
 * 2. mongoRepositories (会使mongoTemplate.converter 自动配置失效)
 *
 * @author lijiajia
 * @since 2019-4-28 11:04:16
 */
// @EnableMongoRepositories
@EnableMongoAuditing
@Configuration
public class MongoConfiguration {
}
